package bean;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-09-16
 * Time: 15:46
 */
public class Teacher {
    private int accountNum;
    private String name;
    private String gender;
    private int age;
    private String rank;
    private long phoneNum;

    public Teacher(int accountNum, String name, String gender, int age, String rank, long phoneNum) {
        this.accountNum = accountNum;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.rank = rank;
        this.phoneNum = phoneNum;
    }

    public Teacher(String name, String gender, int age, String rank, long phoneNum) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.rank = rank;
        this.phoneNum = phoneNum;
    }

    public Teacher(int accountNum) {
        this.accountNum = accountNum;
    }

    public int getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(int accountNum) {
        this.accountNum = accountNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public long getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(long phoneNum) {
        this.phoneNum = phoneNum;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "accountNum=" + accountNum +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", rank='" + rank + '\'' +
                ", phoneNum=" + phoneNum +
                '}';
    }
}
